package io.nutz.nutzsite.module.qn.models;

import java.io.Serializable;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;
		
/**
 * 问卷结果表 qn_scores
 * 
 * @author lrw
 * @date 2020-07-26
 */
@Table("qnscores")
public class Qnscores  implements Serializable {
	private static final long serialVersionUID = 1L;
	
			@Id
		@Column("id")
	@Comment("")
	
	private Integer id;

		/** 发布的问卷ID */
	@Column("ksid")
	@Comment("发布的问卷ID")
	private String ksid;

		/** 学号，如14436101,留级生的学号与原始班级有差别 */
	@Column("uid")
	@Comment("学号，如14436101,留级生的学号与原始班级有差别")
	private String uid;

		/** 问卷中题目在题库中的ID */
	@Column("tiid")
	@Comment("问卷中题目在题库中的ID")
	private Integer tiid;

		/** 问卷对象的选择或填写 */
	@Column("stuans")
	@Comment("问卷对象的选择或填写")
	private String stuans;

		/** 提交时间 */
	@Column("jjtime")
	@Comment("提交时间")
	private Date jjtime;

		/** 部门/班级 */
	@Column("bj")
	@Comment("部门/班级")
	private String bj;

		/** 学院/部门 */
	@Column("xy")
	@Comment("学院/部门")
	private String xy;

		/** 专业 */
	@Column("zymc")
	@Comment("专业")
	private String zymc;

	
	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}

	public void setKsid(String ksid) 
	{
		this.ksid = ksid;
	}

	public String getKsid() 
	{
		return ksid;
	}

	public void setUid(String uid) 
	{
		this.uid = uid;
	}

	public String getUid() 
	{
		return uid;
	}

	public void setTiid(Integer tiid) 
	{
		this.tiid = tiid;
	}

	public Integer getTiid() 
	{
		return tiid;
	}

	public void setStuans(String stuans) 
	{
		this.stuans = stuans;
	}

	public String getStuans() 
	{
		return stuans;
	}

	public void setJjtime(Date jjtime) 
	{
		this.jjtime = jjtime;
	}

	public Date getJjtime() 
	{
		return jjtime;
	}

	public void setBj(String bj) 
	{
		this.bj = bj;
	}

	public String getBj() 
	{
		return bj;
	}

	public void setXy(String xy) 
	{
		this.xy = xy;
	}

	public String getXy() 
	{
		return xy;
	}

	public void setZymc(String zymc) 
	{
		this.zymc = zymc;
	}

	public String getZymc() 
	{
		return zymc;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ksid", getKsid())
            .append("uid", getUid())
            .append("tiid", getTiid())
            .append("stuans", getStuans())
            .append("jjtime", getJjtime())
            .append("bj", getBj())
            .append("xy", getXy())
            .append("zymc", getZymc())
            .toString();
    }
}
